package com.Khan.SocialRescueSys.dao;

import com.Khan.SocialRescueSys.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author Khan Liu
 * @date 2022/4/5 20:34
 */
@Mapper
@Repository
public interface UserDao {

    User queryByUsernameAndPassword(@Param("username") String username, @Param("password") String password);

    User queryByUsername(String username);
}
